<include file="public:top" />
<div class="container">
	<div class="maincontent">
		<h3 class="pull-left">
			<i class="glyphicon glyphicon-book"></i>
			班级相册<small>Class album</small>
		</h3>
		<notempty name='isHasInsert'>
			<div class="pull-right addButton">
				<a href="__URL__/add_xc">添加相册</a>
			</div>
		</notempty>
		<div class="clear"></div>
		<div class="hr"></div>
		<if condition="$listcount">
			<volist name="listcount" id="vo" key="k">
				<div>
				    <div class="col-xs-6 col-md-3">
				        <a href="__URL__/PhotoNum/f_id/{{$vo.f_id}}" class="thumbnail">
				            <img data-src="holder.js" src="__PUBLIC__/upload/<?php echo   ImageModel::imageCover($vo['f_image'], $vo['f_dir']);?>">
				        </a>
				        <div class="phonoAlbum" style="text-align:center;">
						    <a href="#">{{$vo.f_dir}}</a>
					    </div>
				    </div>
				</div>
		  	</volist>
		<else/>
			<h2>亲，去创建第一个相册吧！</h2>
		</if>
	  	<div class='clear'></div>
		<div>
			<div class="page">{{$page}}</div>
		</div>
	</div>
</div>
<include file="public:footer"/>
